From 0b7bba9f314ffb1dca2536b09c6eb37785f8f35f Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 21 Feb 2009 18:14:26 +0000 Subject: [PATCH] Use = not == in test. --- testw | 4 ++-- tools/mkfilelist | 2 +- tools/mkspec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testw b/testw index d41a6ef86..eee5f9060 100755 --- a/testw +++ b/testw @@ -58,7 +58,7 @@ function STAGE_1 () # format while read type caps format comment; do for i in $EXCL; do - if [ "$format" == "$i" ]; then + if [ "$format" = "$i" ]; then caps="------" fi done @@ -97,7 +97,7 @@ function STAGE_0 () while read type caps format comment; do for i in $EXCL; do - if [ "$format" == "$i" ]; then + if [ "$format" = "$i" ]; then caps="------" fi done diff --git a/tools/mkfilelist b/tools/mkfilelist index 09c9df168..e7d429c23 100755 --- a/tools/mkfilelist +++ b/tools/mkfilelist @@ -34,7 +34,7 @@ function loop() echo "$LINE" | ( read LEAD NAME READ - test "x$NAME" == "x" && continue + test "x$NAME" = "x" && continue case $LEAD in D) loop "$1/$NAME/" "$2" diff --git a/tools/mkspec b/tools/mkspec index 6c620bdfa..a79af5a24 100755 --- a/tools/mkspec +++ b/tools/mkspec @@ -6,7 +6,7 @@ VERSION=$2 RELEASE=$3 # may be empty REL=`echo $RELEASE | sed 's/^-//'` -test "$REL" == "" && REL=0 +test "$REL" = "" && REL=0 cat << EOF Summary: GPSBabel -- 2.30.2